package com.jichaoyun.model.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 *
 * @TableName valveAlarm
 */
@TableName(value ="valveAlarm")
@Data
public class ValveAlarm implements Serializable {
    /**
     *
     */
    @ExcelIgnore
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ExcelProperty(value = "阀门编号",index = 0)
    private Integer valveId;

    /**
     *
     */
    @ExcelProperty(value = "阀门名称",index = 1)
    private String vName;

    /**
     *
     */
    @ExcelProperty(value = "报警信息",index = 2)
    private String vMessage;

    /**
     *
     */
    @ExcelProperty(value = "报警开始时间",index = 3)
    private LocalDateTime vStartTime;

    /**
     *
     */
    @ExcelProperty(value = "报警结束时间",index = 4)
    private LocalDateTime vEndTime;

    /**
     * 是否已读
     */
    @ExcelIgnore
    private Boolean isRead;

    @ExcelIgnore
    private Boolean isReadAdmin;

    @ExcelIgnore
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}